package com.dangdang.sharding.dp.listener;

import com.dangdang.sharding.dp.listener.observable.MyObservable;
import com.dangdang.sharding.dp.listener.observer.AObserver;
import com.dangdang.sharding.dp.listener.observer.BObserver;
import com.dangdang.sharding.dp.listener.observer.CObserver;

public class Client {

	public static void main(String[] args) {
		MyObservable myObservable=new MyObservable();
		myObservable.addObsver(new AObserver());
		myObservable.addObsver(new BObserver());
		myObservable.addObsver(new CObserver());
		myObservable.doSomething();
	}

}
